Developer Documentation

QuickTime 4 API Documentation

3D Graphics Programming with QuickDraw 3D 1.5.4

Previous | QD3D Book | Overview | Chapter Contents | Next |

Window-Point Pick Data Structure

You use a window-point pick data structure to specify information when creating a pick object for subsequent window-point picking. A window-point pick data structure is defined by the TQ3WindowPointPickData data type.

typedef struct TQ3WindowPointPickData {
    TQ3PickData                         data;
    TQ3Point2D                          point;
    float                               vertexTolerance;
    float                               edgeTolerance;
} TQ3WindowPointPickData;
data
A pick data structure specifying basic information about the window-point pick object.
point
A point, in local window coordinates, where each unit equals 1/72 inch.
vertexTolerance
The vertex tolerance.
edgeTolerance
The edge tolerance.

Vertex and edge tolerances are discussed in "Hit Identification" .


© 1997 Apple Computer, Inc.

Previous | QD3D Book | Overview | Chapter Contents | Next |